package org.pearl.oauth2.thirdwebdemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by TD on 2021/8/23
 */
@RestController
@RequestMapping("/test")
public class TestController {


    @GetMapping("/resource001")
    public Object resource001(String name) {
        return "resource001";
    }

    @GetMapping("/resource002")
    public Object resource002(String name) {
        return "resource002";
    }

    @RequestMapping(value = "/resource003",produces = {})
    public Object resource003(String name) {
        return "resource003";
    }
}
